package cn.gp.service;

import cn.gp.common.PageInfo;
import cn.gp.entity.Flower;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName FlowerService
 * @Description TODO
 * @Author He_Guoping
 * @Date 2023/5/28 17:26
 * @Version 1.0
 */
public interface FlowerService {

    boolean save(Flower flower);

    boolean update(Flower flower);

    boolean deleteById(Integer id);

    PageInfo<Flower> page(
            Integer page,
            Integer pageSize,
            String name,
            Integer status,
            List<Integer> categOne,
            BigDecimal lowPrice,
            BigDecimal upperPrice);
}
